<hr/>
<b><%= link_to(h(goal.name), goals_url(:id => goal.id)) %></b>
<br/><br/>
<b>Summary:</b> 
<%= h(goal.summary) %>
<% if !goal.description.blank? %>
<br/>
<b>Description:</b> 
<%= h(goal.description) %>
<% end %>
<br/>
<b><%= goal.completed? ? "Results" : "Progress" %>:</b> 
<%= (goal.progress.success.to_f / goal.progress.total * 100).ceil %>% successful <%= goal.completed? ? "(completed)" : "to date" %> 
<br/>